package com.bl.user.mapper;

import com.bl.user.domain.User;
import com.bl.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Bao
 * @since 2022-07-27
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     *  校验手机是否注册
     *  手机验证码
     * @param phone
     * @return
     */
    User loadByPhone(String phone);

    // 获取人的id
    User loadByLogininfoId(Long id);
}
